#ifndef ACTION_H
#define ACTION_H

#include "stdafx.h"

enum ActionType { 
	POST,
	CHECK,
	CALL,
	BET,
	RAISE,
	FOLD
};

enum Street{
	PREFLOP,
	FLOP,
	TURN,
	RIVER
};

class Action
{
private:
	std::string playerName_;
	ActionType actionType_;
	float amount_;
	Street street_;
public:
	Action();
	Action(std::string playerName, ActionType actionType, float amount, Street street = PREFLOP) :
		playerName_(playerName), actionType_(actionType), amount_(amount), street_(street) {};
	std::string PlayerName() const {return playerName_;};
	ActionType ActionType() const {return actionType_;};
	float Amount() const {return amount_;};	
	Street StreetPos() const { return street_; };
	void StreetPos(Street s) {street_ = s;};
	Street StreetPos() {return street_;};
};

#endif